package com.qf.smsplatform.common.enums;

/**
 * projectName: sms-platform
 *
 * @author: 黄睿武
 * time: 2021/8/11 22:22
 * description:
 */
public enum SmsEnum {
    INTERFACE_PARMETER_CLIENTID(101,"认证错误:clientId错误"),
    INTERFACE_PARAMETER_PWD(102,"密码错误"),
    INTERFACE_PARAMTER_MOBILE_EMPTY(105,"手机号错误,不能为空"),
    INTERFACE_PARAMETER_CONTENT(103,"短信内容为空"),
    INTERFACE_PARAMETER_IPERROR(104,"ip不在指定的ip范围内"),
    INTERFACE_PARAMETER_ERRORMOBILE(106,"出现了错误的手机号"),
    INTERFACE_PARAMETER_SRCID_ERROR(107,"srcID错误"),
    ERROR(500,"出现错误!!!");

    private Integer code;

    private String msg;

    SmsEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }}
